<include file="Public:pagerForm" />

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<table class="searchContent">
          <tr>
           <td>全文关键字查询：</td>
           <td><input type="text" name="selectname" value=""/></td>
          </tr>
         </table> 
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="icon" href="javascript:$.printBox('w_list_print')"><span>打印</span></a></li>
            <li><a class="icon" href="__URL__/exportExcel" target="dwzExport" targetType="navTab" title="确定导出这些记录吗?"><span>导出EXCEL</span></a></li>
			</ul>
	</div>

	<div layoutH="119" id="w_list_print">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
		<thead>
		<tr>
			<th align=center>编号</th>
			<th align=center orderField="partnumber" <if condition="$_REQUEST._order eq 'partnumber'">class="{$_REQUEST._sort}"</if>>商品编号</th>
			<th align=center orderField="prodname" <if condition="$_REQUEST._order eq 'prodname'">class="{$_REQUEST._sort}"</if>>商品名称</th> 
            <th align=center orderField="partmodel" <if condition="$_REQUEST._order eq 'partmodel'">class="{$_REQUEST._sort}"</if>>型号</th> 
            <th align=center orderField="prodsize" <if condition="$_REQUEST._order eq 'prodsize'">class="{$_REQUEST._sort}"</if>>规格</th> 
            <th align=center orderField="unit" <if condition="$_REQUEST._order eq 'unit'">class="{$_REQUEST._sort}"</if>>单位</th> 
            <th align=center orderField="stocknums" <if condition="$_REQUEST._order eq 'stocknums'">class="{$_REQUEST._sort}"</if>>库存数量</th> 
            <th align=center orderField="presale" <if condition="$_REQUEST._order eq 'presale'">class="{$_REQUEST._sort}"</if>>单价(￥)</th> 
            <th align=center orderField="stockaccount" <if condition="$_REQUEST._order eq 'stockaccount'">class="{$_REQUEST._sort}"</if>>库存金额(￥)</th> 
            <th align=center orderField="wahname" <if condition="$_REQUEST._order eq 'wahname'">class="{$_REQUEST._sort}"</if>>存放仓库</th> 
            <th align=center align=center orderField="updatetime" <if condition="$_REQUEST._order eq 'updatetime'">class="{$_REQUEST._sort}"</if>>最后库存时间</th> 
            <th align=center>备注</th>       	
		</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr>
				<td align=center>{$key+1}</td>
				<td>{$vo['partnumber']}</td>
				<td>{$vo['prodname']}</td>      
                <td>{$vo['partmodel']}</td>  
                <td>{$vo['prodsize']}</td>  
                <td align=center>{$vo['unit']}</td>  
                <td align=center>{$vo['stocknums']}</td>  
                <td align=right>{$vo['presale']}</td>  
                <td align=right>{$vo['stockaccount']}</td> 
                <td>{$vo['wahname']}</td>  
                <td align=center>{$vo['updatetime']|date="Y-m-d  H:i:s",###}</td>  
                <td>{$vo['remarks']}</td>                   
			</tr>
		</volist>
		</tbody>
	</table>
    </div>
	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>

</div>


